package com.yike.user.service;

import com.yike.user.entity.MessageReminder;
import com.yike.user.param.MessageReminderPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;
import com.yike.user.vo.MessageReminderDateVo;
import com.yike.user.vo.MessageReminderInfoVo;

import java.util.List;

/**
 * 消息提醒表 服务类
 *
 * @author Sakura
 * @since 2024-09-24
 */
public interface MessageReminderService extends BaseService<MessageReminder> {

    List<MessageReminderDateVo> getMessageReminderList() throws Exception;


    /**
     * 获取分页对象
     *
     * @param messageReminderPageParam
     * @return
     * @throws Exception
     */
    Paging<MessageReminderInfoVo> getMessageReminderPageList(MessageReminderPageParam messageReminderPageParam) throws Exception;

    Integer getMessageReminderCount() throws Exception;

    boolean read(Long id) throws Exception;

}
